<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<title>商品入库</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<link href="css/style.css" rel="stylesheet" type="text/css">
<body>
	<table width="584" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td height="27" colspan="6" bgcolor="#EEEEEE" class="tableBorder_gray">&nbsp;<span class="word_deepgrey">
					当前位置：采购管理&gt;</span>商品入库 &gt;&gt;&gt;
			</td>
		</tr>
		<tr>
			<td valign="top" height="83"><br>
				<table width="98%" height="112" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#F2F2F2">
					<html:form method="post" action="/reposityAction.do?method=save">
						<tr>
							<td>合同：</td>
							<td height="27"><html:select property="contractId">
									<html:option value="">请选择合同的名称</html:option>
									<c:forEach var="contract" items="${contracts }">
										<html:option value="${contract.id}">${contract.name }</html:option>
									</c:forEach>
								</html:select></td>
						</tr>
						<tr>
							<td>商品：</td>
							<td height="27"><html:select property="goodsId">
									<html:option value="">请选择入库商品的名称</html:option>
									<c:forEach var="good" items="${goods }">
										<html:option value="${good.goodsId}">${good.goodsName }</html:option>
									</c:forEach>
								</html:select></td>
						</tr>
						<tr>
							<td>供货商：</td>
							<td height="27"><html:select property="supplierId">
									<html:option value="">请选择供货商的名称</html:option>
									<c:forEach var="supplier" items="${suppliers }">
										<html:option value="${supplier.id}">${supplier.name }</html:option>
									</c:forEach>
								</html:select></td>
						</tr>
						<tr>
							<td>商品数量：</td>
							<td><html:text property="purchaseNumber"></html:text></td>
						</tr>
						<tr>
							<td>商品单价：</td>
							<td><html:text property="purchasePrice"></html:text></td>
						</tr>
						<tr>
							<td>物流单号：</td>
							<td><html:text property="logisticNumber"></html:text></td>
						</tr>
						<tr>
							<td height="40" colspan="2" align="center"><input type="submit" value="入库" />  </td>
						</tr>
					</html:form>
				</table></td>
		</tr>
	</table>
</body>
</html>